The Dreamweaver JavaScript API > File manipulation functions > dreamweaver.saveDocumentAsTemplate()

 

dreamweaver.saveDocumentAsTemplate()

Availability

Dreamweaver 3.0

Description

Opens the Save As Template dialog box.

Arguments

documentObject

documentObject is the object at the root of a document's DOM tree (the value returned by dreamweaver.getDocumentDOM()).

Returns

Nothing.

Enabler

dreamweaver.canSaveDocumentAsTemplate()